package pojo;

import java.util.Date;

public class User {
	private String name;
	private double sal;
	private String birth;
	private boolean sex;
	private byte[] portait;
	public byte[] getPortait() {
		return portait;
	}
	public void setPortait(byte[] portait) {
		this.portait = portait;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getSal() {
		return sal;
	}
	public void setSal(double sal) {
		this.sal = sal;
	}
	public String getBirth() {
		return birth;
	}
	public void setBirth(String birth) {
		this.birth = birth;
	}
	public boolean isSex() {
		return sex;
	}
	public void setSex(boolean sex) {
		this.sex = sex;
	}

	public User(String name, double sal, String birth, boolean sex,
			byte[] portait) {
		super();
		this.name = name;
		this.sal = sal;
		this.birth = birth;
		this.sex = sex;
		this.portait = portait;
	}
	public User() {
		super();
	}
	
	

}
